/**
 *
 */
package com.ybkj.daijia.server.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ybkj.daijia.common.DateTimeSerialize;
import java.util.Date;

/**
 * @author bo
 * 司机拒单记录.(分代驾业务,专车业务...)
 */
public class DriverRefuseRecord extends Base {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Long orderId;

    private String orderNumber;

    private OrderType orderType;

    private Long orderCompanyId;

    private Long employId;

    private String employRealName;

    private String employUserName;

    private String employPhone;

    private Date happend;

    private String memo;


    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getOrderCompanyId() {
        return orderCompanyId;
    }

    public void setOrderCompanyId(Long orderCompanyId) {
        this.orderCompanyId = orderCompanyId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public OrderType getOrderType() {
        return orderType;
    }

    public void setOrderType(OrderType orderType) {
        this.orderType = orderType;
    }

    public Long getEmployId() {
        return employId;
    }

    public void setEmployId(Long employId) {
        this.employId = employId;
    }

    public String getEmployRealName() {
        return employRealName;
    }

    public void setEmployRealName(String employRealName) {
        this.employRealName = employRealName;
    }

    public String getEmployUserName() {
        return employUserName;
    }

    public void setEmployUserName(String employUserName) {
        this.employUserName = employUserName;
    }

    public String getEmployPhone() {
        return employPhone;
    }

    public void setEmployPhone(String employPhone) {
        this.employPhone = employPhone;
    }

    @JsonSerialize(using = DateTimeSerialize.class)
    public Date getHappend() {
        return happend;
    }

    public void setHappend(Date happend) {
        this.happend = happend;
    }


    public enum OrderType {
        /**
         * 代驾
         */
        daijia,
        /**
         * 专车
         */
        zhuanche,
        /**
         * 跑腿
         */
        paotui,
        /**
         * 货运
         */
        freight,
        /**
         * 城际专线
         */
        zhuanxian,
    }

}
